const mongoose = require('mongoose')
const Schema = mongoose.Schema

const UserSchema = new Schema({
  userName: {
    type: String,
    required: true,
    maxlength: 20
  },
  password: {
    type: String,
    required: true
  }
})

mongoose.model('UserSchema', UserSchema)